using UnityEngine;
using System.Collections;

public class UI_SetFont : MonoBehaviour {

    public Font font;
    public Material fontMaterial;

	void Start () 
    {
        SetFont();
	}

    public void SetFont()
    {
        gameObject.GetComponent<TextMesh>().font = font;
        renderer.material = fontMaterial;
    }
	
}
